﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    /// <summary>
    /// 垛绑定数据
    /// </summary>
    public class PalletBindMaterialDto
    {
        /// <summary>
        /// 垛号
        /// </summary>
        public string PalletBarcode
        {
            get; set;
        }
        /// <summary>
        /// 逻辑分区
        /// </summary>
        public string LogicPartCode
        {
            get; set;
        }
        /// <summary>
        /// 物料包装
        /// </summary>
        public MaterialPackageBindDto   MaterialPackageBindDto
        {
            get; set;
        }
    }
    /// <summary>
    /// 物料包装
    /// </summary>
    public class MaterialPackageBindDto
    {
        ///// <summary>
        ///// 1-成品；2-塑胶件
        ///// </summary>
        //public int PalletType
        //{
        //    get; set;
        //}
        /// <summary>
        /// 入库单明细Id
        /// </summary>
        public int OrderDetailId
        {
            get; set;
        }
        /// <summary>
        /// 物料号
        /// </summary>
        public string MaterialCode
        {
            get; set;
        }
        /// <summary>
        /// 包装条码
        /// </summary>
        public string PackageBarcode
        {
            get; set;
        }
        /// <summary>
        /// 货品条码
        /// </summary>
        public List<string> Barcodes
        {
            get; set;
        }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal? Qty
        {
            get; set;
        }
        /// <summary>
        /// 包装数量
        /// </summary>
        public int PackageCount
        {
            get; set;
        }
    }
}
